using Core.Domain.Entities;
using FluentNHibernate.Mapping;

namespace DataMain.Mappings
{
  public class VoteMap : ClassMap<Vote>
  {
    public VoteMap()
    {
      Id(x => x.Id);
      Map(x => x.VoteeId);
      Map(x => x.VoteStatus);
      References(x => x.Ballot);
    }
  }
}